Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <select ng-change="setBillGroup()" ng-model="bill.groupId" class="span8" ng-options="d.id as d.name for d in groups"></select>
- myApp.controller('myAppController', function($scope, myAppService) {
- .....
- function setBillGroup(){
- console.log("setBillGroup method called!");
- ......
- }
- ....
- });
- $scope.setBillGroup = function(){
- console.log("setBillGroup method called!");
- ......
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement