 function AppComponent() {
        this.notes = [];
        this.addTodo = function(note) {
			
				this.notes.push(note.value);
            			note.value = null;
			
            return false;
        }

    }

	function removeTodo(el)
	{
    
    el.parentNode.parentNode.parentNode.parentNode.parentNode.style.display="none";
	}
    AppComponent.annotations = [
      new angular.ComponentAnnotation({
        selector: 'sticky'
      }),
      new angular.ViewAnnotation({
        template:'  <div class="fixed-action-btn"><a class="btn-floating btn-large red" onclick="addTodo(notetext)"><i class="large material-icons">mode_edit</i></a></div>' +
                 '<div class="col s12 l4 m4" *ng-for="#note of notes"><div class="card yellow accent-4"><div class="card-content dark-text"><div class ="row"><div class="input-field col s8"><input value="{{ note }}" type="text" placeholder="note title"></span></div><div class="col s1"><br/></div><div class="col s1"><button class="btn-floating btn-small waves-effect waves-light orange accent-3" onclick="removeTodo(this)">X</button></div></div><div class="input-field"><textarea id="textarea1" class="materialize-textarea" placeholder="notes here"></textarea></div></div></div></div><br/>',
        directives: [angular.NgFor]
      })
    ];

    document.addEventListener('DOMContentLoaded', function() {
      angular.bootstrap(AppComponent);
    });

@@ -487,18 +487,16 @@
 mplate:'
-  
 %3Cdiv cla
@@ -503,140 +503,311 @@
 ss=%22
-fixed-action-btn%22%3E%3Ca class=%22btn-floating btn-large red%22 onclick=%22addTodo(notetext)%22%3E%3Ci class=%22large material-icons%22%3Emode_edit%3C/i%3E%3C/a
+row%22%3E%3Cdiv class=%22col s12 l4 m4%3E%3Cbr/%3E%3C/div%3E%3Cdiv class=%22col s12 l4 m4%22%3E%3Cform (submit)=%22addTodo(notetext)%22%3E%3Cinput id=%22input_text%22 type=%22text%22 maxlength=%2220%22 placeholder=%22enter the note title%22 #notetext%3E%3Cbutton class=%22btn waves-effect waves-light orange accent-3%22 type=%22submit%22%3E%3Cb%3E+%3C/b%3E%3C/button%3E%3C/form%3E%3C/div
 %3E%3C/d
@@ -914,17 +914,17 @@
  accent-
-4
+2
 %22%3E%3Cdiv c

Update index.js