jdp

Michigan

johnpedrie.com

Age: 25

PHP, Node, AngularJS, WordPress.

Dec
9
awarded Popular Question
Oct
20
revised $scope of Same Controller when changing Location Path
Add AngularJS to tags.
Sep
18
comment AngularJS multiple directive elements with template and broadcasting from controller
Seems to me that you've got it backwards. The directive shouldn't need to know how to respond to a save action. What happens if we wanted to reuse the directive in another context that saves data in a different way? Better I think to define a save function in the controller and inject it into the directive.
Sep
18
answered AngularJS multiple directive elements with template and broadcasting from controller
Sep
18
answered Can't Resolve My Promise in Controller - AngularJS
Aug
1
comment Enqueue Jquery script won't work
Updated the answer with something else to try! (deregister default script reference)
Aug
1
answered Enqueue Jquery script won't work
Jul
25
awarded Famous Question
Jul
2
awarded Curious
Apr
23
awarded Yearling
Apr
23
awarded Yearling
Apr
17
awarded Autobiographer
Feb
11
answered Sending Random numbers to a database as it's ID
Jan
10
answered json_encode() can't return html
Jan
10
answered How to exclude a post by id from the category.php query in wordpress
Jan
10
revised Floating Div Bug In Chrome?
This isn't a PHP-related question.
Jan
10
comment Fix PHP Notice: 'Undefined index' on Wordpress
php > $a = 1; php > var_dump($a == '1'); bool(true) Because php!
Jan
10
awarded Organizer
Jan
10
revised Gravity Forms - Populate Dynamically via AJAX
Removed 'gravity' tag.
Jan
10
awarded Custodian
1 2 3 4 5