Angular Code snippets used for learning Angular js