Skip to content
This repository has been archived by the owner on Jul 1, 2020. It is now read-only.

Commit

Permalink
Fixed a forgotten injection
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Mar 24, 2015
1 parent 8a4855b commit 089dbc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ myApp.config(['$compileProvider', '$locationProvider', '$routeProvider', functio

// -- Main Controller for Angular-Validation Directive
// ---------------------------------------------------
myApp.controller('Ctrl', ['$location', '$route', '$scope', '$translate', function ($location, $route, $scope, $timeout, $translate) {
myApp.controller('Ctrl', ['$location', '$route', '$scope', '$translate', function ($location, $route, $scope, $translate) {
// change the translation language & reload the page to make sure all errors were rendered properly
$scope.switchLanguage = function (key) {
$translate.use(key).then(function() {
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Forms Angular Validation (Directive / Service)
#Angular Validation (Directive / Service)
`Version: 1.3.9`
### Form validation after user inactivity of default 1sec. (customizable timeout)

Expand Down

0 comments on commit 089dbc0

Please sign in to comment.