Sample Application with angularJs