I am using ionic framework for developing my hybrid mobile application and I have to access a content editing page where I need to pass in some values. For this, I have added the parameters in the url in routes.js routing file
.state('editText', {
url: '/editText/:id/:text/:size',
templateUrl: 'editText.php',
controller: 'editTextCtrl'
})
Now I want to access :id , :text and :size in the content of the page. Can I simply do it by using {id} , {text}, {size} in the content of page or do I need to do something else to make it happen. Please note that at this point I am looking for the fastest and simplest solution to achieve this without caring for security.