http://docs.angularjs.org/tutorial
- Customized filters
- Customized services
- Event handlers
-
not able to test if define controller in this way in
controller.js
.controller('PhoneCtrl', ['$scope', function($scope) {
init controller
controller
service$controller('PhoneCtrl', {$scope: scope});