Search for '{{search_term}}'

AngularJS Skeleton

CMOS is the Code-Maven Open Source podcast that also includes video interviews. Subscribe to this feed RSS feed with your Podcast listener app or via iTunes iTunes.

A simple AngularJS skeleton.


<!DOCTYPE html>
<html lang="en">
  <meta charset="utf-8">
  <meta name="viewport"
     content="width=device-width, initial-scale=1, user-scalable=yes">
  <script src=""></script>

   angular.module('DemoApp', [])
   .controller('DemoController', ['$scope', function($scope) {
       $scope.message = "Hello World";

<body ng-app="DemoApp" ng-controller="DemoController">

<h1>Main Title</h1>



In the comments, please wrap your code snippets within <pre> </pre> tags and use spaces for indentation.
comments powered by Disqus