Note that there are some explanatory texts on larger screens.

plurals
  1. USMark Rajcok
    primarykey
    data
    text
    <ul> <li>I teach an online <strong><a href="https://www.udemy.com/angular-2-concepts-code-and-collective-wisdom/?couponCode=stackoverflow2" rel="nofollow noreferrer">Angular course</a></strong> at udemy.com, with an emphasis on Observables, Change Detection, Dependency Injection, Data Binding, and Inter-Component Communication and Data Flow.</li> <li>I've been writing software for a <strong>few decades</strong> and I (still) love it. Over the years I've played with mainly Big Data, full-stack web apps, multi-threaded (near) real-time server apps, and embedded software. </li> <li>At the <strong>day job</strong>, I'm working with Spark, Sqrrl (which uses Accumulo underneath), and Hadoop in general. <ul> <li>Previously I was doing web dev with D3.js, C3.js, Node.js, Express.js, Python, Bottle.py, MySQL, Apache httpd. For many years prior to that I programmed almost exclusively in C++ (some C++11, some Boost) and Perl (I much prefer Python now).</li> </ul></li> <li>I've <strong>dabbled with</strong> R, Java, Google AppEngine, AWS, GraphViz, IBM Streams/SPL and BigInsights, Oracle OEP, DynamoDB. I've read books about Google Compute Engine, Heroku, Neo4j, Redis, and MongoDB, and I've taken a few Udacity iOS courses (then I switched to Ionic), but I never got around to actually trying these out (bummer, eh?).</li> <li><strong>Current interests/learning</strong>: Spark, Ionic, Angular (of course), Docker, Kubernetes<br></li> <li><strong>Open source project</strong>: <a href="https://github.com/mrajcok/angularjs-periscope" rel="nofollow noreferrer" title="Peri$scope">Peri$scope</a>, a tool that uses GraphViz to visualize AngularJS prototypal scope inheritance, properties, and services</li> <li><strong>First computer</strong>: Commodore64 (I still have one)</li> <li><strong>SO badge</strong> I'm most proud of: Sportsmanship</li> <li>My <strong>profile picture</strong>: my son gave me that lego minifig years ago, but I put the Angular logo on it</li> </ul>
    plurals
    1. COIt seems the parent scope isn't passed into the lnk func because of the desire to support "reusable components, which should not accidentally read or modify data in the parent scope." But if a directive really does want/need to read or modify SOME SPECIFIC data in the parent scope (like the 'pane' directive does), it requires some effort: 'require' the controller where the desired parent scope is, then define a method on that controller (use 'this' not $scope) to access specific data. Since the desired parent scope is not injected into the lnk func, I suppose this is the only way to do it.
      singulars
    2. COI find this confusing also. When a view specifies a controller (e.g., ng-controller='...'), the $scope associated with that controller seems to come along with it, because the view can access $scope properties. But when a directive 'require's another controller (and then uses it in its linking function), the $scope associated with that other controller doesn't come along with it?
      singulars
    3. COWhat I would like to know is: why on the AngularJS home page, the "Wire up a Backend" example, in the list.html tab, do they use href and not ng-href? Is it because of the $routeProvider pulls the html file/partial in? I guess the bigger question is the same as Greg's: when do we need to use ng-href and when can we use href? Should we always just use ng-href?
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload