search

Home  >  Q&A  >  body text

angular.js - The angularjs select control cannot be initialized after putting the controller code into a separate js file.

I don’t know if anyone has encountered such a problem:
http://jsbin.com/ukezuj/5/edit?html,js,output
If you put the js code in this demo into a separate js file, the select optionbu will be initialized

某草草某草草2776 days ago609

reply all(1)I'll reply

  • 淡淡烟草味

    淡淡烟草味2017-05-15 16:52:13

    It turns out that the name of the controller was not written

    reply
    0
  • Cancelreply