javascript - AngularJs - routing

Angular ui routing

ui-router

Tuto

Examples

url management

  • add args in url

    $location.search('year', $scope.year);
    
  • get specific arg

    $location.search().year;
    
  • clear args in url

  • remove all args

    $location.url($location.path());
    
  • remove a specific args

    $location.search('coords', null);
    

issues

Multiples parents views for a single child view

stackoverflow question

ui-router closed issue

results for ""

    No results matching ""