basic exercise on binding in angular
added functioning controller