Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Angular.js Tutorial
<html lang="en-US" ng-app="Site">
<meta charset="UTF-8">
<title>Angular.js Tutorial</title>
<link href="//" rel="stylesheet">
<style type="text/css">
body {
<body ng-controller="AppController">
<!-- Navbar -->
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="brand" href="/#/page/home">Angular.js Tutorial</a>
<ul class="nav">
<li ng-class="{active: slug == 'home'}"><a href="/#/page/home">Home</a></li>
<li ng-class="{active: slug == 'about'}"><a href="/#/page/about">About</a></li>
<li ng-class="{active: slug == 'contact'}"><a href="/#/page/contact">Contact</a></li>
<!-- Content -->
<div class="container">
<div class="row">
<div class="span8">
<!-- Dynamic content -->
<div class="span4">
<div class="well">
<h3>Side Bar</h3>
<p>This is static content that will stay the same between pages.</p>
<h4>Useful Links</h4>
<li><a href="">Angular.js</a></li>
<li><a href=""></a></li>
<!-- JavaScript Includes -->
<script type="text/javascript" src="//"></script>
<script type="text/javascript" src="/js/site.js"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.