Venciity

app.js tiger

Dec 18th, 2014
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (function() {
  2.     var app = angular.module('tigerApp', []);
  3.     app.controller('TigerController', function(){
  4.         this.tigerInfo = {
  5.             'name': 'Ares',
  6.             'born': 'Asia',
  7.             'birthDate': '2014',
  8.             'live': 'Sofia Zoo',
  9.             'photo': 'http://tigerday.org/wp-content/uploads/2013/04/tiger.jpg'
  10.         };
  11.     this.imgStyles = {
  12.             width: '300px',
  13.             height: '200px',
  14.             margin: '10px'
  15.         };
  16.     });
  17. })();
Advertisement
Add Comment
Please, Sign In to add comment