Add Angular.js

This commit is contained in:
Philippe Vienne 2016-04-17 19:37:16 +02:00
parent 2f16f86c5a
commit a13c1491e6
2 changed files with 12 additions and 1 deletions

View file

@ -1,5 +1,5 @@
<!doctype html>
<html>
<html ng-app="app">
<head>
<title>Spotify Duplicate Finder</title>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
@ -71,6 +71,7 @@
</script>
<script src="//cdnjs.cloudflare.com/ajax/libs/handlebars.js/2.0.0-alpha.1/handlebars.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.4/angular.js"></script>
<script src="https://code.jquery.com/jquery-1.12.3.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"
integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS"

View file

@ -1,5 +1,15 @@
'use strict';
(function(){
var app = angular.module('app',[]);
app.controller('AuthCtrl',['$scope', function($scope){
}])
})();
var access_token;
var refresh_token;
var error;