You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
It would be a helpful to have an ng-resolve directive. This directive would allow the injection of locals into controllers set with ng-controller. A similar pattern already exists for the $routeProvider and the $dialogProvider which have a "resolve" option for injecting dependencies.
It would be a helpful to have an ng-resolve directive. This directive would allow the injection of locals into controllers set with ng-controller. A similar pattern already exists for the $routeProvider and the $dialogProvider which have a "resolve" option for injecting dependencies.
Here is an example of a custom directive that accomplishes this task: http://jsfiddle.net/majgis/7xRVM/4/
The text was updated successfully, but these errors were encountered: