working on blog - mocking apis angular js