Skip to content

Commit dd25c4a

Browse files
committed
Merge pull request angular-ui#1083 from quentint/patch-1
Minification notice
2 parents ae7e0cb + eb23a5c commit dd25c4a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/state.js

+2
Original file line numberDiff line numberDiff line change
@@ -459,11 +459,13 @@ function $StateProvider( $urlRouterProvider, $urlMatcherFactory) {
459459
*
460460
* - **`onEnter`** - {object=} - Callback function for when a state is entered. Good way
461461
* to trigger an action or dispatch an event, such as opening a dialog.
462+
* If minifying your scripts, make sure to use the `['injection1', 'injection2', function(injection1, injection2){}]` syntax.
462463
*
463464
* <a id='onExit'></a>
464465
*
465466
* - **`onExit`** - {object=} - Callback function for when a state is exited. Good way to
466467
* trigger an action or dispatch an event, such as opening a dialog.
468+
* If minifying your scripts, make sure to use the `['injection1', 'injection2', function(injection1, injection2){}]` syntax.
467469
*
468470
* <a id='reloadOnSearch'></a>
469471
*

0 commit comments

Comments
 (0)