Copied to clipboard

Flag this post as spam?

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


  • Mus'ab 158 posts 387 karma points notactivated
    Sep 17, 2019 @ 09:56
    Mus'ab
    0

    How to call surface controller from angularjs controller ?

    Hi every body

    i am trying to call a surface controller in an angularjs file usually i have to typed /umbraco/surface/controllerName/methodName but in angular js controller the html page isn't in the views folder so i think that i have to add some thing in path url wha should i add ? my anglularjs controller and html page path is

    ~/App_Plugins/favouriteThings/backoffice/favouriteThingsAlias/edit.controller.js

  • Frans de Jong 550 posts 1862 karma points MVP 4x c-trib
    Sep 17, 2019 @ 10:09
    Frans de Jong
    0

    For a app_plugin you can use a API controller

  • Mus'ab 158 posts 387 karma points notactivated
    Sep 17, 2019 @ 10:13
    Mus'ab
    0

    so i just have to inherit from API controller instead if surface ?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies