diff options
author | Teddy Wing | 2016-02-22 11:33:05 +0100 |
---|---|---|
committer | Teddy Wing | 2016-02-22 11:33:05 +0100 |
commit | 7ed236adccf24bb9fff158e4fa33585ec74acc43 (patch) | |
tree | 1716a066c15732eeb4a175a6c6db4a56a5fd446c /app/views/layouts | |
parent | 68bd2a8f810da00fd0625edd279d51aaf33ac022 (diff) | |
download | Notes-angular-demo-live-firehose-project-mentor-session-20160221.tar.bz2 |
Add Angular frontend - live Firehose sessionlive-firehose-project-mentor-session-20160221
Live coding session with @danyline. Add complete Angular frontend.
Diffstat (limited to 'app/views/layouts')
-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..bf4eb07 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.NotesApp"> <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 %> |