More specifically these functions return 1-4 character escape sequence characters use as a 'code' to represent the reserved characters. These are JavaScript functions that are bound to a particular scope and It has the concept of switching views. Angular is a platform for building mobile and desktop web applications. JavaScript is not designed to do this, and it will not happily get it done for you. Example