Skip to content

Instantly share code, notes, and snippets.

View pdilyard's full-sized avatar

Paul Dilyard pdilyard

  • Atomic Industries
  • Cleveland, OH
View GitHub Profile
<!DOCTYPE html>
<html>
<head lang="en">
<title>AngularJS Tutorial</title>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.4/angular.min.js"></script>
<script src="app.js"></script>
<script src="main.ctrl.js"></script>
</head>
<body ng-app="app" ng-controller="MainController as main">
angular.module('app').controller("MainController", function(){
var vm = this;
vm.title = 'AngularJS Tutorial Example';
/* This is an empty string we'll use later to search through our list. */
vm.searchInput = '';
/* Here's an array of members. */
vm.members = [
{
@pdilyard
pdilyard / app.js
Last active August 29, 2015 14:15 — forked from robinbonatesta/app.js
Angular-Intro
angular.module('app', []);