I'm building a web app with GAE Python and Angular2. And one of the requirements is that the UI will be totally different between web and mobile. Like www.product.com and m.mobile.com.
How is the best way to identify, in Angular2 when the agent is mobile?