aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/layouts/application.html.erb
diff options
context:
space:
mode:
authorTeddy Wing2016-10-06 18:38:14 -0400
committerTeddy Wing2016-10-06 18:38:14 -0400
commit1d6fa22853b724025461aca3d8b7b939c9fc2dba (patch)
treef2b25601dba11abb62476a115bdb21b2c855269f /app/views/layouts/application.html.erb
parentc7aad39abdb200d85915fe98fdf21000599552fa (diff)
downloadNotes-angular-demo-firehose-project-mentor-session-prep-20161006.tar.bz2
Prepare for mentor session with Andrew Clark. Refresh my memory on how this all works and is implemented by rewriting the code, using the code from Dany's live session as a reference.
Diffstat (limited to 'app/views/layouts/application.html.erb')
-rw-r--r--app/views/layouts/application.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index 2b9affc..ca57c37 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -1,12 +1,12 @@
<!DOCTYPE html>
-<html>
+<html ng-app="nt.Notes">
<head>
<title>Notes</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
-<body>
+<body ng-controller="MainController">
<%= yield %>