Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • MarcC 49 posts 356 karma points
    Apr 10, 2017 @ 09:37
    MarcC
    0

    $routeParams service documentation?

    Hey,

    Tried to give it a look on the documentation and in the CMS core repo but im a little lost, where can i find the available methods/functions for the service

    $routeParams
    

    Mostly im just trying to retrieve the current node name, but it would be good know where to find this stuff in the future!

    Thanks,

    M

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Apr 10, 2017 @ 20:43
    Alex Skrypnyk
    100

    Hi Marc

    The $routeParams service allows you to retrieve the current set of route parameters. It's angular service so documentation you can read on docs.angularjs.org -

    https://docs.angularjs.org/api/ngRoute/service/$routeParams

    Thanks,

    Alex

  • MarcC 49 posts 356 karma points
    Apr 11, 2017 @ 07:58
    MarcC
    0

    Perfect, thanks Alex

Please Sign in or register to post replies

Write your reply to:

Draft