1.3.0 • Published 6 years ago

sanji-router-ui v1.3.0

Weekly downloads
15
License
MIT
Repository
github
Last release
6 years ago

sanji-router-ui

Sanji router service is part of Sanji UI framework and also it is a angular module. It is just a ui-router wrapper and help configure the state-base ui.router.

NPM Package Quality Build Status Coverage Status Codacy Badge dependencies devdependencies semantic-release Commitizen friendly

Dependencies

Installation

Sanji router service is based on es6 + webpack to development and embrace npm to install it.

npm install sanji-router-ui --save

How to use

You need to include module first.

let app = angular.module('webapp', ['sanji.router'])

and then use router as DI service.

app.run(routerHelper => {
  routerHelper.configureStates([{
    state: 'dashboard',
    config: {
        url: '/',
        templateUrl: 'app/dashboard/dashboard.html',
        controller: 'DashboardController',
        controllerAs: 'vm',
        title: 'dashboard'
    }
  }]);
});

References

Contact

Author: Zack Yang © 2015

Support: if you find any problems with this library, open issue on Github

1.3.0

6 years ago

1.2.10

7 years ago

1.2.9

7 years ago

1.2.8

8 years ago

1.2.7

8 years ago

1.2.6

8 years ago

1.2.5

8 years ago

1.2.4

8 years ago

1.2.3

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.2

8 years ago

1.0.1

9 years ago

1.0.0

9 years ago