initial load with angular implementation