Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- i.fa.fa-star-o.text-primary
- .h3 {{::item.label}} {{ ::item.department.id == 1 ? "#FUNCTION_IN_CTRL" : "" }}
- angular.module 'app'
- .controller "DirectoryGridCtrl", ($scope, Refs, Grid, Directory) ->
- vm = @
- ################################################################################
- # actions #
- ################################################################################
- ################################################################################
- # onLoad #
- ################################################################################
- vm.forceUnknownOptionDep = ->
- delete vm.choosenDepartment
- return
- vm.forceUnknownOptionUser = ->
- delete vm.choosenUser
- return
- vm.DepartmentTmp = Refs.data.userList
- ################################################################################
- # constructor grid #
- ################################################################################
- @grid = new Grid(resource: Directory, ctrlName: 'directoryGrid')
- ################################################################################
- # return #
- ################################################################################
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement