This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>Responsive CSS Flip Animation</title> | |
<link href="CSS/BootStrap3.1/bootstrap.min.css" type="text/css" rel="stylesheet" /> | |
<link href="CSS/Site.css" type="text/css" rel="stylesheet" /> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var contactApp = angular.module('contactApp', ['ngRoute','ngResource']); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
contactApp.config(['$routeProvider', function ($routeProvider) { | |
$routeProvider.when('/', { | |
templateUrl: "/app/Home/home.html" | |
}), | |
$routeProvider.when('/about', { | |
templateUrl: "app/Home/about.html" | |
}), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html ng-app="contactApp"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>@ViewBag.Title - My ASP.NET Application</title> | |
@Styles.Render("~/Content/css") | |
@Scripts.Render("~/bundles/modernizr") | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="navbar-collapse collapse"> | |
<ul class="nav navbar-nav"> | |
<li><a href="#/">Home</a></li> | |
<li><a href="#/about">about</a></li> | |
</ul> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
contactApp.controller('contactController', | |
['$scope', | |
function categoryController($scope) { | |
$scope.contacts =[ | |
{ | |
firstName: 'John', lastName: 'Parson', email: '[email protected]', mobile: '233-900-2933' | |
}, | |
{ | |
firstName: 'Joe', lastName: 'Paris', email: '[email protected]', mobile: '233-900-2933' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="panel panel-primary"> | |
<div class="panel-heading">My Contacts</div> | |
<div class="panel-body"> | |
<div class="col-md-6"> | |
<a class="btn btn-primary" href="#/mycontacts/newcontact"><i class="glyphicon glyphicon-file"></i> New</a> | |
</div> | |
<div class="col-xs-10 col-lg-6 col-md-6"> | |
<div class="input-group"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="panel panel-primary"> | |
<div class="panel-heading">New Contact</div> | |
<div class="panel-body"> | |
<form class="form-horizontal" role="form" id="contactForm" name="contactForm"> | |
<div class="form-group"> | |
<label for="firstName" class="col-sm-3 control-label">First Name</label> | |
<div class="col-sm-6"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="navbar-collapse collapse"> | |
<ul class="nav navbar-nav"> | |
<li><a href="#/">Home</a></li> | |
<li><a href="#/mycontacts">My Contacts</a></li> | |
<li><a href="#/about">about</a></li> | |
</ul> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
contactApp.config(['$routeProvider', function ($routeProvider) { | |
$routeProvider.when('/', { | |
templateUrl: "/app/Home/home.html" | |
}), | |
$routeProvider.when('/about', { | |
templateUrl: "app/Home/about.html" | |
}), |
OlderNewer