adding a step to myNewPage appear on sideBar

pull/148/head
Felipe Cavalcanti 2016-08-16 16:19:23 -03:00 committed by GitHub
parent f89cdf0916
commit 7564007647
1 changed files with 17 additions and 0 deletions

View File

@ -63,6 +63,23 @@ This will allow you to easily switch off some pages in the future if needed.
})();
```
5) Lastly, add 'BlurAdmin.pages.myNewPage' inside pages.module.js like this:
```javascript
angular.module('BlurAdmin.pages', [
'ui.router',
'BlurAdmin.pages.dashboard',
'BlurAdmin.pages.myNewPage',
'BlurAdmin.pages.ui',
'BlurAdmin.pages.components',
'BlurAdmin.pages.form',
'BlurAdmin.pages.tables',
'BlurAdmin.pages.charts',
'BlurAdmin.pages.maps',
'BlurAdmin.pages.profile',
])
.config(routeConfig);
```
That's it! Your can now open your new page either from sidebar or through hash URL.