Advertisement
Guest User

Untitled

a guest
Sep 21st, 2014
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. <select ng-change="setBillGroup()" ng-model="bill.groupId" class="span8" ng-options="d.id as d.name for d in groups"></select>
  2.  
  3. myApp.controller('myAppController', function($scope, myAppService) {
  4.  
  5. .....
  6. function setBillGroup(){
  7. console.log("setBillGroup method called!");
  8. ......
  9. }
  10.  
  11. ....
  12. });
  13.  
  14. $scope.setBillGroup = function(){
  15. console.log("setBillGroup method called!");
  16. ......
  17. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement