RexyBadDog

fxp_2020_10_18_AngularJS_04

Oct 18th, 2020
763
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. myApp.controller('mainCtrl2', ['$scope', '$log', function ($scope, $log) {
  2.     $log.log("AngularJs Test: controller name is [" + $scope.getName +"]");
  3.     window.$scope = $scope;
  4.     $scope.imgPath = "assets/img/portfolio/";
  5.     $scope.images = [
  6.     "daniel_portfolio_app_01.jpg",
  7.     "daniel_portfolio_app_02.jpg",
  8.     "daniel_portfolio_app_03.jpg",
  9.     "daniel_portfolio_app_04.jpg",
  10.     "daniel_portfolio_design_01.jpg",
  11.     "daniel_portfolio_design_02.jpg",
  12.     "daniel_portfolio_design_03.jpg",
  13.     "daniel_portfolio_design_04.jpg",
  14.     "daniel_portfolio_design_05.jpg",
  15.     "daniel_portfolio_web_01.jpg",
  16.     "daniel_portfolio_web_02.jpg"];
  17.     /* image_cat = [
  18.         "app","app","app","app",
  19.         "design","design","design","design","design",
  20.         "web","web"
  21.     ]; */
  22. }]);
RAW Paste Data