Skip to content

Commit

Permalink
Add note in README [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromemacias committed May 13, 2015
1 parent 39a4d49 commit db571d0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,19 @@ Your application should use a `ui-view`:
<div ui-view></div>
```

### Production ready

You can enable `ng-strict-di` angular mode to boost your application performance:
```html
<body ng-app="myApp" ng-strict-di>
```

Ng-admin library is already compatible, but you have to explicitly declare dependencies on your custom application code.

Also, ng-admin disable debug mode of Angularjs.

See [Angular documentation](https://docs.angularjs.org/guide/production) for more details about this two tweaks.

## Example Configuration

We chose to define the entities & views directly in JavaScript to allow greater freedom in the configuration.
Expand Down

0 comments on commit db571d0

Please sign in to comment.