Switch to Outlet "Open Hot"
1: Do you have power at the switch (Line In) ? [test with a multimeter] 


YES: go to step 2: 
NO : See Answer A:


2: Do you have power at the switch (Line Out) ? [test with a multimeter]


NO : Flip the Switch and Perform step 2 again.
YES: Go to step 3
If after flipping the switch and still no power - the switch is bad.
Please verify if it is a push type - make sure your insulation is properly peeled back and the wire pushed all the way in. 


3: Test inside Box 2 where the wire comes from the switch and goes to the outlet - is your connection there good ?  


Make sure your wire insulation is trimmed. 
Redo and recheck the wire nutting.


4: Check that your outlet wire line in is properly connected to the outlet - if it is a push type - make sure your insulation is properly peeled back and the wire pushed all the way in. (This is probably your issue)

Answer A:

You are missing power to the switch; there are two possibilities: 


Box 1 Hot wire from electrical box to box1-box2 wire connection is not properly connected or the insulation has not been removed from the wire when it was wire nutted.
Box 2 Hot wire connection from box 1 to switch (Line In) is not properly connected or the insulation has not been removed from the wire when it was wire nutted.