AngularJS Demo
See the code
{{alertMessage}}