du20150401
du20150401
2016-03-17 16:24

你能在php文件中使用AngularJS吗? [关闭]

  • php
  • html
  • angularjs
  • web
已采纳

I would like to use AngularJS in a php file so that i can include other php files Is there any way to do that?

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

1条回答

  • dsj83686 dsj83686 5年前

    Angular JS is a javascript framework, this means it's a client side executed scipt. PHP a server side executed script. The answear is NO you cannot include php file using angular js, as angular is a client side executed script and including PHP file requires server side executed script.

    点赞 评论 复制链接分享

为你推荐