Sample Application in Angular js