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 157 posts 385 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 548 posts 1840 karma points MVP 3x c-trib
    Sep 17, 2019 @ 10:09
    Frans de Jong
    0

    For a app_plugin you can use a API controller

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

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

Please Sign in or register to post replies

Write your reply to:

Draft