为Codepen配置Angular

时间:2017-06-28 04:18:30

标签: angularjs

开始使用角度编码器时,我做错了什么?

https://codepen.io/TylerL-uxai/pen/mwqNLW

<Grid width="250">
   <ScrollViewer >
          <StackPanel Orientation="Vertical">
            <ItemsControl ItemsSource="{Binding images}">                                       
              <ItemsControl.Template>
                <DataTemplate>
                  <Image Source="{Binding}" Margin="0,0,5,5" />
                </DataTemplate>
               </ItemsControl.Template>
              </ItemsControl>        
         </StackPanel>
   </ScrollViewer >
</Grid>

1 个答案:

答案 0 :(得分:1)

您需要将空的依赖关系数组传递给您的模块,

  angular.module('timeOff',[])

<强> WORKING CODEPEN