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
# Copyright (c) 2013 The Native Client Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
# | |
# GNU Make based build file. For details on GNU Make see: | |
# http://www.gnu.org/software/make/manual/make.html | |
# | |
# |
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('instructor', { | |
url: '/instructors/:instructor_id', | |
controller: 'User_Instructor', | |
templateUrl: 'user/instructor/display.html', | |
resolve: { | |
user: ['User_Factory', function(User_Factory) { | |
return User_Factory.getCurrentUser(); | |
}], | |
instructor: ['$stateParams', 'Instructor_Service', function($stateParams, Instructor_Service) { | |
return Instructor_Service.getInstructor($stateParams.instructor_id); |