Skip to content

Commit

Permalink
Angular 1.3 compatibility fix - demo and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pgaertig committed Jul 28, 2014
1 parent bf5f9d7 commit 45a7a3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ business logic on the server is able to send messages/notifications to the clien
var app = angular.module('myApp', ['angular-growl']);

app.config(['growlProvider', '$httpProvider', function(growlProvider, $httpProvider) {
$httpProvider.responseInterceptors.push(growlProvider.serverMessagesInterceptor);
$httpProvider.interceptors.push(growlProvider.serverMessagesInterceptor);
}]);
````

Expand Down
2 changes: 1 addition & 1 deletion demo/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ app.config(["growlProvider", "$httpProvider", function(growlProvider, $httpProvi
growlProvider.messageTextKey("messagetext");
growlProvider.messageSeverityKey("severity-level");
growlProvider.onlyUniqueMessages(true);
$httpProvider.responseInterceptors.push(growlProvider.serverMessagesInterceptor);
$httpProvider.interceptors.push(growlProvider.serverMessagesInterceptor);
}]);

app.run(function($httpBackend) {
Expand Down

0 comments on commit 45a7a3e

Please sign in to comment.