Implement basic lazy loading with angularjs