Migrating mockup to angular js.