m0t0r / poc-ui-router-routes-check

Simple POC how to check routes with ui-router

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

poc-ui-router-routes-check

Simple POC how to check routes with ui-router

Install

Run

  • npm install
  • bower install

In order to quickly check just run:

python -m SimpleHTTPServer 8000

and the go to http://localhost:8000/#/

Use:

user:user - 'login' as a user role
admin:admin - 'login' as a admin role

Trying to click on a link which takes to admin route will fail for user and work for admin.

Test

In order to check tests run

npm test

Licence

MIT.

About

Simple POC how to check routes with ui-router

License:MIT License


Languages

Language:JavaScript 100.0%