I want to make an admin section with angular 
not sure how to tackle it

1) should i go for authentication and authorization via angular

2) or house my angular app inside a PHP/ROR application which will take care of authentication

if 1) then what is the best practice or style that you guys recommend