zoukankan      html  css  js  c++  java
  • 《AngularJS开发下一代Web应用》读书笔记与感想

    该书一共130页打算四天读完,边读边记录。

    1.

    2.学习MogoDB

    3.

    4.

     5.

    创建标识符的一段简单伪码模板: 
    var myModule = angular.module(...);
    myModule.directive('namespaceDirectiveName', function factory(injectables) {
    	var directiveDefinitionObject = {
    		restrict: string, 
    		priority: number,
    		template: string, 
    		templateUrl: string, 
    		replace: bool, 
    		transclude: bool, 
    		scope: bool or object,
    		controller: function controllerConstructor($scope, $element, $attrs, $transclude),
    		require: string,
    		link: function postLink(scope, iElement, iAttrs) { ... }, 
    		compile: function compile(tElement, tAttrs, transclude) {
    			return {
    				pre: function preLink(scope, iElement, iAttrs, controller) { ... }, 
    				post: function postLink(scope, iElement, iAttrs, controller) { ... }
    			}
    		}
    	};
    	return directiveDefinitionObject;
    });
    

      

  • 相关阅读:
    HDU 1495 广度优先搜索
    oj 1792:迷宫 广搜和深搜
    oj 1756:八皇后 搜索
    OJ1700 八皇后问题 基本搜索算法
    PAT A1020
    PAT A1103
    PAT A1046 Shortest Distance
    PAT A1059
    PAT B1013
    二分查找
  • 原文地址:https://www.cnblogs.com/dyh-air/p/7751269.html
Copyright © 2011-2022 走看看