Skip to content

learn-co-curriculum/angular-view-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

An Angular Controller and its Template

Objectives

  1. Understand the controller and view pair

From MyApp

Previously we loaded Angular's libraries and initialized our own Angular app.

<body ng-app="MyApp">
  <div ng-view></div>
  <script>
    window.MyApp = angular.module('MyApp', ['ngRoute'])
  </script>
</body>

We're going to extend from our initialized application and write a single controller and template.

View An Angular Controller and its Template on Learn.co and start learning to code for free.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •