diff options
author | Teddy Wing | 2016-10-06 18:38:14 -0400 |
---|---|---|
committer | Teddy Wing | 2016-10-06 18:38:14 -0400 |
commit | 1d6fa22853b724025461aca3d8b7b939c9fc2dba (patch) | |
tree | f2b25601dba11abb62476a115bdb21b2c855269f /app/views/layouts/application.html.erb | |
parent | c7aad39abdb200d85915fe98fdf21000599552fa (diff) | |
download | Notes-angular-demo-firehose-project-mentor-session-prep-20161006.tar.bz2 |
Mentor session prepfirehose-project-mentor-session-prep-20161006
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.erb | 4 |
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 %> |