Notes Stack in angular js