Fixing dependency injection for account view as well as defining a challengeName to suppress errors

pull/100/head
Nathan Leniz 2015-02-14 22:52:44 -05:00
parent 3d7c7cf6b3
commit 92136dcd1f
2 changed files with 3 additions and 1 deletions

View File

@ -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',

View File

@ -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