now is active based on router functionality rather than on location/urls

This commit is contained in:
nixa 2016-04-28 15:08:48 +03:00
parent dd6c7644f6
commit fbdf4355dd
4 changed files with 24 additions and 22 deletions

View file

@ -12,6 +12,7 @@ require("!style!css!sass!./theme/sass/_ionicons.scss");
/*
* App Component
* Top Level Component
* TODO: whey the header and footer are not implemented?
*/
@Component({
selector: 'app',
@ -34,7 +35,7 @@ require("!style!css!sass!./theme/sass/_ionicons.scss");
})
@RouteConfig([
{
path: '/...',
path: '/pages/...',
name: 'Pages',
component: Pages,
useAsDefault: true