added slug function in angularjs
switched api key from plain text to ENV