'use strict'; angular .module('app') .component('dashboard', { templateUrl: '/resources/dashboard/dashboard.component.html', controller: ['$scope', 'cms', function ($scope, cms) { // cms.Authenticated().then( // _ => { $location.path("/"); }, // _ => { $location.path("/signin"); } // ); }] });