added precompile
fixed the model
keyboard navigation
learnt angular resource