Basic angular js workflow