4378 shaares
Just some handy accessors for the brower console :
var myScope = $('#directive > select.or').scope()
var $rootScope = $('body').scope() // if <body> has the 'ng-app' attribute
var myController = $('#directive > select.or').controller()
var injector = $(document.body).injector()
var myService = injector.get('myServiceName')
And there are 3 handy pre-commit hooks :
- repo: local
hooks …