Build an AngularJS app which meets the following requirements
- Display list of rooms as grids
- Each room should be accessed by a unique URI (Use UI router)
-
Add room
button should add a room - Each room could have a todo list which is specific to that room
- Store all the todo entries in local storage namespaced with room ids
Additional:
- ngAnnotate
- build with minify
- Better UI, pls
- Clone this repository and go into its root folder.
- Run
npm install
- Run
node server.js
- Go to
http://localhost:1337/#/
to view the app
Rooms stored as an array of room
objects. The room
object looks like:
{
id: 1234, //a unique integer id
name: 'RedRoom', //a friendly name for each room
}
Each todo is stored in the room.id
namespace.
{
id: 0234, //a unique integer id
text: 'Paint the room red.', //todo text
complete: false //boolean to represent done or undone
completedAt: null, //date it was completed if complete is true, else null
}