forked from ionic-team/ionic-service-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.html
32 lines (25 loc) · 776 Bytes
/
test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE html>
<html>
<head>
<title>Test</title>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.min.js"></script>
<script src="ionicCore.js"></script>
</head>
<body ng-app="test">
<script>
angular.module('test', ['ionic.services.common'])
.config(['$ionicAppProvider', function($ionicAppProvider) {
// Identify app
$ionicAppProvider.identify({
// The App ID for the server
app_id: '34defa356',
// The API key all services will use for this app
api_key: '34def5631deab31bca335defa23456'
});
}])
.run(['$ionicApp', function($ionicApp) {
console.log('Running', $ionicApp.getApp());
}])
</script>
</body>
</html>