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