verify token in localstorage then bootstrap angularjs.