Closed godric7 closed 9 years ago
Input service $watch the object exposed by the settings object and $emit known input events on the $rootScope
$watch
settings
$emit
$rootScope
So that in a controller we can do
$scope.$watch('input:back', $scope.prev); $scope.$watch('input:enter', $scope.enterMenu); etc...
Input service
$watch
the object exposed by thesettings
object and$emit
known input events on the$rootScope
So that in a controller we can do