Fixing dependency injection for account view as well as defining a challengeName to suppress errors
This commit is contained in:
@ -167,7 +167,7 @@ profileValidation.controller('doneWithFirst100HoursFormController', ['$scope',
|
|||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
|
||||||
profileValidation.directive('uniqueUsername',['$scope', '$http',function($http) {
|
profileValidation.directive('uniqueUsername',['$http',function($http) {
|
||||||
return {
|
return {
|
||||||
restrict: 'A',
|
restrict: 'A',
|
||||||
require: 'ngModel',
|
require: 'ngModel',
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
extends ../layout
|
extends ../layout
|
||||||
block content
|
block content
|
||||||
|
script.
|
||||||
|
var challengeName = 'Account View'
|
||||||
.panel.panel-primary.min-height-1000(ng-controller="profileValidationController")
|
.panel.panel-primary.min-height-1000(ng-controller="profileValidationController")
|
||||||
.panel-heading.text-center Update your profile here:
|
.panel-heading.text-center Update your profile here:
|
||||||
.panel-body
|
.panel-body
|
||||||
|
Reference in New Issue
Block a user