Different application based on "entry params " ? url params


Would it be possible to combine 2 ionic framework apps into 1?

I would like to show a certain layout and tabs based on the URL params so for example, since regular iphone apps can be linked to an url schema mapp:// ?

  • Regular user
  • Teacher user

These would both show there own interface and also be separated from each other.

Is this possible and already done before?
If so, could anyone provide an working example thanks!