Commit 07e4730db5231593c6345d017061db2d30db4a0e

Authored by Kevin Mach
1 parent 4da3dd3031

added viewDeck stuff

Showing 2 changed files with 34 additions and 0 deletions Side-by-side Diff

scripts/viewDeckController.js View file @ 07e4730
  1 +var app = angular.module("flashy.viewDeckController.js", ['ui.router']);
  2 +
  3 +app.controller("viewDeckController", ['$scope', function ($scope) {
  4 +
  5 + $scope.hello = function () {
  6 + alert("hello");
  7 + }
  8 +
  9 +
  10 +
  11 +}]);
templates/viewDeck.html View file @ 07e4730
  1 +<!DOCTYPE html>
  2 +<html ng-app="flashy">
  3 +<head>
  4 +
  5 +
  6 + <link rel="stylesheet" href="styles/bootstrap-3.3.4-dist/css/bootstrap.css" />
  7 + <link rel="stylesheet" href="flashy.css" />
  8 +
  9 +</head>
  10 +<body ng-controller="viewDeckController">
  11 + kjkkj;j;l
  12 +
  13 + <button type="button" ng-click="hello()">SUPPPP</button>
  14 +
  15 + <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.js"></script>
  16 + <script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-router/0.2.14/angular-ui-router.js"></script>
  17 + <script src="config.js"></script>
  18 + <script src="controller.js"></script>
  19 +
  20 +
  21 + <script src="viewDeckController.js"
  22 +</body>
  23 +</html>