Created
December 20, 2014 19:30
-
-
Save alpcanaydin/ec9a8fd1a2d1f591af94 to your computer and use it in GitHub Desktop.
Substate with UI Router in Angular.JS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.state "dashboard", | |
url : "/hesabim" | |
templateUrl : "#{PARTIALS_URL}/dashboard/dashboard.html" | |
controller : "DashboardAccountCtrl" | |
anonymous : false | |
resolve : | |
currentUser : currentUser | |
.state "dashboard.profiles", | |
url : "/uzmanliklar" | |
templateUrl : "#{PARTIALS_URL}/dashboard/profiles.html" | |
controller : "DashboardProfilesCtrl" | |
anonymous : false | |
resolve : | |
userProfiles : userProfiles |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment