fixes angular-ui/ui-router#350
Merge branch 'master' of github.com:buunguyen/ui-router