Skip to content

Commit 9970154

Browse files
committed
refactor: small angular changes
1 parent 35716d1 commit 9970154

File tree

5 files changed

+368
-366
lines changed

5 files changed

+368
-366
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Include `aping-plugin-codebird.min.js` in your apiNG application
5656
### III. Add dependency
5757
Add the module `jtt_aping_codebird` as a dependency to your app module:
5858
```js
59-
var app = angular.module('app', ['jtt_aping', 'jtt_aping_codebird']);
59+
angular.module('app', ['jtt_aping', 'jtt_aping_codebird']);
6060
```
6161

6262
### IV. Add the plugin
@@ -85,7 +85,7 @@ Add the plugin's directive `aping-codebird="[]"` to your apiNG directive and [co
8585
### II. Insert your `bearer_token` into `aping-config.js`
8686
Create and open `js/apiNG/aping-config.js` in your application folder. It should be look like this snippet:
8787
```js
88-
apingApp.config(['$provide', function ($provide) {
88+
angular.module('jtt_aping').config(['$provide', function ($provide) {
8989
$provide.value("apingDefaultSettings", {
9090
apingApiKeys : {
9191
twitter: [

0 commit comments

Comments
 (0)