Angular function

pathDecider source

pathDecider is used to redirect related path by looking up the data in response

Dependencies:
NameTypeDescription
client_cmd string
$scope Object
data Object