By "login popup" do you mean create your own pop-up login screen? Or modify the login page?
Our current login page is in html/login.html. So by default, if it is a 401, it gets redirected to that page. And if you look at that file, it only has these:
<div class="row" ng-controller="LoginCtrl">
<div class="col-md-4 col-md-offset-4">
So if you want to create your own login screen, either you create your own login prompt, then update the above page to make it 'modal' then use a function in $tm1Ui to login:
$tm1Ui.applicationLogin(instance, username, password, cam);
Do take note as well that you need to handle the redirect once the user has logged in successfully.
Then if you are looking to just update the login look and feel, check the Help section on
as this also has the tm1-class attribute for which you can add your own CSS class to add style to.
Let me know if this helps clarify.