using angular to render partials and inject services