Authorization on AngularJS using TYK


I’m trying to create a prototype for a project where an AngularJS webapp will authenticate a user, in which depending on the roles defined for this user, the angular will be able to have access to a limited number of methods in the backend API.
But I’m new to both AngularJS and Tyk. I’m pretty much lost on all this and the Tyk documentation is not helping me.
Anyone has any tutorial about how to do that AngularJS + Tyk authorization? Any example that I could check out how to work things out, would be great.
Thanks a lot.