Javascript 为什么ng repeat不使用表?

Javascript 为什么ng repeat不使用表?,javascript,angularjs,Javascript,Angularjs,ng是否在显示的仅输出标题部分重复不使用表格?我认为我做的装订很好,但我遗漏了什么? 当我尝试在Stackoverflow ide中运行时,它运行良好 我正在使用ADOBE括号。括号中是否有错误?? 请为angularjs推荐最好的IDE? 谁能帮我找出哪里做错了? var myApp=angular.module(“myApp”,[]); var mycontroller=函数($scope) { var员工=[ {姓名:'Sahil',出生日期:新日期(),性别:“男性”,工资:400000

ng是否在显示的仅输出标题部分重复不使用表格?我认为我做的装订很好,但我遗漏了什么? 当我尝试在Stackoverflow ide中运行时,它运行良好

我正在使用ADOBE括号。括号中是否有错误?? 请为angularjs推荐最好的IDE? 谁能帮我找出哪里做错了?
var myApp=angular.module(“myApp”,[]);
var mycontroller=函数($scope)
{
var员工=[
{姓名:'Sahil',出生日期:新日期(),性别:“男性”,工资:400000},
{姓名:'Shaloni',出生日期:新日期(),性别:“女性”,工资:100000},
{姓名:'Nitish',出生日期:new Date(),性别:“男”,工资:300000},
{姓名:'Diksha',出生日期:新日期(),性别:“女性”,工资:600000},
{姓名:'Tarun',出生日期:新日期(),性别:“男性”,工资:900000}
]
$scope.emp=员工;
};
myApp.controller('myController',myController)

名称
出生日期
性别
薪水
美元工资
{{employee.Name}
{{employee.dateOfBirth}
{{employee.gender}
{{employee.salary}}

请找到您的解决方案

代码中的问题如下: var mycontroller=函数($scope) 和myApp.controller(“myController”,myController)

未调用mycontroller变量。放置警报();在那个街区看看

对于编辑器,您可以使用SUBLIME编辑器,Visual studio代码:

var myApp=angular.module(“myApp”,[]);
var mycontroller=函数($scope)
{
var员工=[
{姓名:'Sahil',出生日期:新日期(),性别:“男性”,工资:400000},
{姓名:'Shaloni',出生日期:新日期(),性别:“女性”,工资:100000},
{姓名:'Nitish',出生日期:new Date(),性别:“男”,工资:300000},
{姓名:'Diksha',出生日期:新日期(),性别:“女性”,工资:600000},
{姓名:'Tarun',出生日期:新日期(),性别:“男性”,工资:900000}
]
$scope.emp=员工;
};
myApp.controller('myController',myController)

名称
出生日期
性别
薪水
美元工资
{{employee.Name}
{{employee.dateOfBirth}
{{employee.gender}
{{employee.salary}}

尝试使用visual studio代码或jetBrains。您是否在控制台或网络选项卡中看到任何错误?工作正常,工作正常。sublime Atom jetBrains在chrome中有许多适合我的创意。代码正在代码段窗口中工作。。错误是什么?