Angular function

redirectTo source

redirectTo function redirects to related controller and path with given data before redirect setPageData must be called and pageData need to be defined otherwise redirected path will call api for its data

Dependencies:
NameTypeDescription
scope object
page string